fix(deps): update module github.com/lestrrat-go/jwx to v2 - autoclosed #1134
+22
−39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.2.29
->v2.0.21
Release Notes
lestrrat-go/jwx (github.com/lestrrat-go/jwx)
v2.0.21
Compare Source
v2.0.21 07 Mar 2024
[Security]
[jwe] Added
jwe.Settings(jwe.WithMaxDecompressBufferSize(int64))
to specify themaximum size of a decompressed JWE payload. The default value is 10MB. If you
are compressing payloads greater than this and want to decompress it during
a call to
jwe.Decrypt
, you need to explicitly set a value large enough tohold that data.
The same option can be passed to
jwe.Decrypt
to control this behavior ona per-message basis.
[jwe] Added documentation stating that
jwe.WithMaxBufferSize
option will berenamed in future versions, i.e. v3
v2.0.20
Compare Source
v2.0.20 20 Feb 2024
[New Features]
jwe.Settings(WithMaxBufferSize(int64))
to set the maximum size ofinternal buffers. The default value is 256MB. Most users do not need to change
this value.
jws.WithCompact()
andjws.WithJSON()
to be passed tojws.Parse()
andjws.Verify()
. These options control the expected serialization format for theJWS message.
jwt.WithCompactOnly()
to specify that only compact serialization canbe used for
jwt.Parse()
. Previously, by virtue ofjws.Parse()
allowing eitherJSON or Compact serialization format,
jwt.Parse()
also alloed JSON serializationwhere as RFC7519 explicitly states that only compact serialization should be
used. For backward compatibility the default behavior is not changed, but you
can set this global option for jwt:
jwt.Settings(jwt.WithCompactOnly(true))
[Miscellaneous]
public keys. This would allow you to pass private keys where public keys are
expected.
v2.0.19
Compare Source
v2.0.18
Compare Source
v2.0.17
Compare Source
v2.0.16
Compare Source
v2.0.15
Compare Source
v2.0.14
Compare Source
v2.0.13
Compare Source
v2.0.12
Compare Source
v2.0.11
: [SECURITY] v2.0.11Compare Source
v2.0.10
Compare Source
v2.0.9
Compare Source
v2.0.8
Compare Source
v2.0.7
Compare Source
v2.0.6
Compare Source
v2.0.5
Compare Source
v2.0.4
Compare Source
v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
v2.0.0
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.